package com.hutao.medical.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hutao.medical.dataSource.TargetDataSource;
import com.hutao.medical.mapper.medicalRecord.TreatmentTraceTypeMapper;
import com.hutao.medical.service.TreatmentTraceTypeService;

@Transactional
@Service
public class TreatmentTraceTypeServiceImpl implements TreatmentTraceTypeService {
	
	@Autowired
	private TreatmentTraceTypeMapper treatmentTraceTypeMapper;
	
	
	@Transactional(readOnly = true)
	@TargetDataSource(name="ds1")
	@Override
	public Map<String, Object> findTreatmentTraceTypeByCode(String code) {
		return treatmentTraceTypeMapper.findTreatmentTraceTypeByCode(code);
	}

	
	
	
	

}
